/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gui.dialogs;

import java.awt.Frame;
import javax.swing.JDialog;
import javax.swing.JOptionPane;

/**
 *
 * @author triki
 */
public class DialogsFactory {

    public static void obtainDialog()
    {
        JOptionPane.showMessageDialog(new Frame(),
        "Eggs are not supposed to be green.",
        "Inane error",
        JOptionPane.ERROR_MESSAGE);

    }
}
